package com.trsj.lnsj.controller;

import com.trsj.lnsj.common.DataResponse;
import io.swagger.annotations.Api;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package:com.trsj.lnsj.controller
 * @Auther: Longky
 * @Date: 2018/12/24
 * @Description:
 */
@RestController
@Api("订单相关pi")
@RequestMapping(value = "/api/order")
@CrossOrigin
public class OrderController {
    public DataResponse listOrdersbyUserId(@RequestParam(defaultValue="1") int pageNum, @RequestParam(defaultValue="10") int pageSize, @RequestParam(defaultValue="") Long userId){
        return null;
    }
}
